package com.bbzn.device.client.dao.photoupload;

import com.bbzn.device.client.dataobject.PhotoUpload;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PhotoUploadMapper {
    int deleteByPrimaryKey(Long id);

    int insert(PhotoUpload record);

    int insertOrUpdate(PhotoUpload record);

    int insertOrUpdateSelective(PhotoUpload record);

    int insertSelective(PhotoUpload record);

    PhotoUpload selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PhotoUpload record);

    int updateByPrimaryKey(PhotoUpload record);

    List<PhotoUpload> findByAll(PhotoUpload photoUpload);

    List<PhotoUpload> selectByImei(@Param("imei") String imei);

    int updateBatch(List<PhotoUpload> list);

    int updateBatchSelective(List<PhotoUpload> list);

    int batchInsert(@Param("list") List<PhotoUpload> list);
}